<?php
/**
 * Created by PhpStorm.
 * User: R.Ice
 * Date: 2019/1/10
 * Time: 11:40
 * name:删除记账记录
 * url:/erpEnterpriseStructure/delete_bookkeeping_record
 */

//获取参数
$obr_id = $route->bodyParams["obr_id"];//主键ID

$whereArr = [
    "obr_id" => $obr_id
];

//执行写入语句
$rsData = $db->mysqlDB->delete("oa_bookkeeping_record",$whereArr,false);

//返回成功结果
$response->responseData( true, $rsData );